// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';
import querystring from "querystring";

export async function getSongList(params: {}) {
  return request('/user/getSongList', {
    method: 'GET',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded', // 设置请求头
    },
    data: querystring.stringify(params),
  });
}

export async function getPrincessList(params: {}) {
  return request('/user/getPrincessList', {
    method: 'GET',
    // headers: {
    //   'Content-Type': 'application/x-www-form-urlencoded', // 设置请求头
    // },
    params: params,
  });
}

